package com.changgou.goods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author shkstart
 * @create 2020-08-22 0:11
 */
@SpringBootApplication
@EnableEurekaClient //声明为当前的Eurka客户端
@MapperScan(basePackages = {"com.changgou.goods.dao"}) //扫描我的通用mapper。注意：@MapperScan是tk.mybatis.spring.annotation包下的，用于扫描Mapper接口
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class,args);
    }
}
